<template>
    <div>
        {{ attrs }}
    </div>
</template>

<script setup>
import { useAttrs } from 'vue';

// 获取父组件传递过来的数据
const attrs = useAttrs()

</script>

<style lang="scss" scoped>

</style>